<div class="question_one question_publish clearfix">
<div class="question">
    <if condition="$question['is_repost'] neq '1'">
        <div class="col-xs-12" style="padding-bottom: 10px;">
            <div class="col-md-4 col-xs-12 pull-left">
                <img src="{:getThumbImageById($question['cover_id'],245,160)}" style="width:100%;max-width: 245px;height: 160px" class=""/>
            </div>


            <div class="home_list_info col-md-8 col-xs-12 pull-left" style="margin-bottom: 20px;">
                <a class="list_title" href="{:U('question/index/detail',array('id'=>$question['id']))}">
                    <div class="" style="font-size: 24px;color: #000;">{$question['title']}</div>
                </a>
                        <span class="pull-left" style="color: #9E9e9e;font-size: 14px;"><a class="author " href="{$question.user.space_url}"
                                                                                           ucard="{$question.user.uid}">{$question.user.nickname} </a> &nbsp;{$question.user.address|default="未填写地区"}&nbsp;{$question.user.doing|default="未填写职业"}</span>
            </div>
            <div class="question_content" style="color: #848484;min-height: 140px;">
                {$question['content_s']}

            </div>
        </div>
        <div class="time" style="top:30px;">{$question.create_time|friendlyDate}</div>
    </if>
    <if condition="$question['is_repost'] eq '1'">
        <dl class="col-xs-12 clearfix" style="padding-bottom: 10px;padding-top: 0;">
            <dt>
                <a class="question_img">
                    <img src="{$question.user.avatar128}" class="img-responsive"/>
                </a>
            <div>
                <a ucard="{$question.uid}" href="{$question.user.space_url}" style="font-weight: 500;color:#f28220">{$question.user.nickname}</a>
                <div>
                            <span>
                                <if condition="$question['user']['rank_link'][0]['num']">
                                    <volist name="question['user']['rank_link']" id="val">
                                        <img src="{$val.logo_url}" title="{$val.title}" alt="{$val.title}" style="width: 20px;height: 20px;vertical-align: middle;margin-left: 2px;margin-top: -6px;"/>
                                    </volist>
                                </if>
                            </span>
                </div>
                <div style="color: #BBB">{$question.user.address|default="还未设置地址"}
                    {$question.user.doing|default="还未设置职业"}
                </div>
            </div>
            </dt>
            <dd>
                <div style="color: #848484;font-size: 15px;line-height: 22px;"><p>
                    {$question.content|parse_at_users}&nbsp;&nbsp;<a href="{:U('question/index/detail',array('id'=>$question['id']))}" style="text-decoration: underline;">详情</a></p></div>
                <div class="triangle_up sanjiao"
                     style="margin-left: 20px;border-bottom: 10px solid #f1f1f1;"></div>
                <div style="border: 1px solid #e8e8e8;padding: 10px;margin-bottom: 20px;border-radius: 6px;background: #f1f1f1;padding-bottom: 20px;">
                    <div><a href="{$question.original_question.user.space_url}" target="_blank"
                            ucard="{$question.original_question.uid}">@{$question.original_question.user.nickname}</a>
                    </div>
                    <div class="time" style="margin-right: 10px;top: 55px;">
                        发布于{$question.original_question.create_time|friendlyDate}
                    </div>
                    <a href="{:U('question/index/detail',array('id'=>$question['original_question']['id']))}"
                       class="title" style="font-size: 20px;color: #000!important;">{$question.original_question.title}</a>

                    <div class="question_content"
                         style="color: #848484;font-size: 15px;line-height: 22px;">
                        {$question.original_question.content_s}
                    </div>
                    <div style="margin-top: 10px;float: right;color: #848484">
                        <span style="margin-right: 15px;">原问题分享 <span>{$question.original_question.share_num}</span></span>
                        <span>原问题转发 <span class="old_question_repost_{$question.original_question.id}">{$question.original_question.repost_num}</span></span>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </dd>
        </dl>
        <div class="time" style="top:20px;">{$question.create_time|friendlyDate}</div>
    </if>
    <if condition="$need_answer eq 1">
        <div class="clearfix"></div>
        <div id="personal_answer_box_{$question.id}" style="padding-bottom: 10px;padding-left: 50px;padding-right: 5px;">
            <div style="font-size: 15px;line-height: 22px;margin-left: -40px;"><span>最后一条回答：</span>{$answer.content|parse_at_users|parse_expression}<if condition="$have_more eq 1">... <a class="personal_answer" question-id="{$question.id}">查看全部 >></a></if></div>
        </div>
    </if>
</div>
</div>